
<script type="text/javascript" src="js/jquery.ad-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="css/adgallery.css">

<script type="text/javascript">
document.getElementById('index').className='';
//document.getElementById('line_1').className='yes';
</script>
<!--list开始-->
<div class="box">
     <?php $this->load->view('inc/left');?>
    <div class="lineR770">
        <div class="lineNavTitle">
	搜索条件：<?php if(!empty($lineclass['classname'][$this->uri->segment(3)])){echo $lineclass['classname'][$this->uri->segment(3)];}?>---
	<?php if(!empty($des_tags['tags_name'][$this->uri->segment(4)])){echo $des_tags['tags_name'][$this->uri->segment(4)];}?>
		</div>
        <div class="lineListText">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="lineLText">
		<?php if(count($search_list)){
				foreach($search_list as $item){
							$pics="";
							$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
							if(!$pics){$pics="/templates/img/nopic.jpg";}			
		
		?>
	              <tr>
	                <td width="140" align="center"><p class="proimg"><a href="<?php echo site_url();?>/main/line_show/<?php echo $item->id;?>" target="_blank"><img src="<?php echo $pics;?>" maxwidth="120" maxheight="90" /></a><span class="natures_0"></span></p></td>
	                <td><h1><a href="<?php echo site_url();?>/main/line_show/<?php echo $item->id;?>" target="_blank"><?php echo $item->trav_title;?></a> 
							<?php if($item->tuijian){?>
								<span class="lineVirtues_5"></span>
							<?php }?>
						</h1>
                	<div class="guild"><!--满意度：<span linereviewss="3" haoping="3"></span>&nbsp;&nbsp;-->目的地：
					<span>
					<?php
						$tags_ids=substr($item->line_tags,1,strlen($item->line_tags)-2);
						$arr_tagid=explode("-", $tags_ids);//
						 $count_t=count($arr_tagid);
	 					 // print_r($tags_ids);
						 if($tags_ids){
						 	for($i=0;$i<$count_t;$i++){
					?>
							<a href="<?php echo site_url();?>/content_search/search/0/<?php echo $arr_tagid[$i];?>"><?php echo $des_tags['tags_name'][$arr_tagid[$i]];?></a>
					<?php 	}
						}
					?>
				</span>
				&nbsp;&nbsp;行程<span><?php echo $item->TravelTime;?></span>天&nbsp;&nbsp;出发班期：<span linestartdate="[<?php echo $item->departure_date?>]"></span></div><div class="msg"><?php echo substr(strip_tags($item->line_info),0,165);?>...</div></td>
                <td width="100" align="center" style="line-height:240%;"><b class="price">¥<?php echo $item->price_per;?></b> 起<br /><input type="button" class="btn73x23" value="查看详情" onClick="location='<?php echo site_url();?>/main/line_show/<?php echo $item->id;?>';return false;" /></td>
              </tr>
 			<?php }
			}else{
				echo "<tr><td><b>未找到搜索结果</b></td></tr>";
				
			}	
 			?>
            </table>
			<div style="padding-bottom:10px"><div id="pager2" class="page"><?php echo $this->pagination->create_links(); ?></div></div>
        </div>
    </div>
    <div class="clearit"></div>
</div>
<!--list结束-->

    <?php $this->load->view('inc/footer');?>
</body>
</html>